# -*- coding: utf-8 -*-
"""
数据库基础配置文件
从主配置中导入数据库连接信息，确保配置统一管理
"""

from app.conf.config import config

DB_CONFIG = {
    "host": config.DB_HOST,
    "port": config.DB_PORT,
    "user": config.DB_USER,
    "password": config.DB_PASSWORD,
    "charset": config.DB_CHARSET,
    "pool_size": config.DB_POOL_SIZE,
    "max_overflow": config.DB_MAX_OVERFLOW,
    "pool_recycle": config.DB_POOL_RECYCLE,
    "timeout": 10,
}
